package com.eastfair.builder.service;

import com.eastfair.builder.vo.ReportDrawingCategoryVO;
import com.eastfair.home.vo.ReportDrawingCategoryAuditVO;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 图纸分类审核 服务.
 *
 * @author dqq
 * @date 2022 /8/11
 */
public interface BuilderReportDrawingCategoryAuditService {

    /**
     * 报馆ID查询图纸分类审核.
     *
     * @param reportSpaceId the report space id
     * @return the list
     */
    List<ReportDrawingCategoryAuditVO> queryByReportSpaceId(@PathVariable("reportSpaceId") Long reportSpaceId);

    /**
     * 报馆ID查询图纸分类，报馆状态为已提交或已审核，需要查询图纸分类审核记录作为图纸分类.
     *
     * @param reportSpaceId the report space id
     * @return the list
     */
    List<ReportDrawingCategoryVO> listReportDrawingCategoryVOByReportSpaceId(Long reportSpaceId);
}